﻿using mozhi.smarterp.Finance.Querys;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Finance.Finances
{
    public interface IJournalNumberPrefixAppService : IApplicationService
    {
        Task<PagedResultDto<JournalNumberPrefixDto>> FindAsync(PageQuery query);

        Task<JournalNumberPrefixDto> GetAsync(Guid id);

        Task<JournalNumberPrefixDto> CreateAsync(JournalNumberPrefixCreateDto dto);

        Task<JournalNumberPrefixDto> UpdateAsync(JournalNumberPrefixUpdateDto dto);

        Task<bool> DeleteAsync(Guid id);
    }
}
